package com.yunxi.model.account;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 帐户类型
 * </p>
 *
 * @author 
 * @since 2019-05-16
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_account_type")
@ApiModel(value="AccountType对象", description="帐户类型")
public class AccountType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "ACCOUNT_TYPE_ID", type = IdType.UUID)
    private String accountTypeId;

    @ApiModelProperty(value = "帐户类型代码")
    @TableField("ACCOUNT_TYPE_CODE")
    private String accountTypeCode;

    @ApiModelProperty(value = "帐户类型名称")
    @TableField("ACCOUNT_TYPE_NAME")
    private String accountTypeName;

    @ApiModelProperty(value = "创建时间")
    @TableField(value ="CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value ="UPDATE_TIME", fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;


}
